package com.weijian.dal.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.io.Serializable;

/**
 * 套餐菜品关系
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName(value = "set_meal_dish", autoResultMap = true)
public class SetMealDish extends BaseDO implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    /**
     * 套餐id
     */
    private Long setMealId;

    /**
     * 菜品id
     */
    private Long itemId;

    /**
     * 菜品名称
     */
    private String name;

    /**
     * 菜品价格
     */
    private Integer price;

    /**
     * 份数
     */
    private Integer copies;
}
